<?php
/**
 * Controller is the customized base controller class.
 * All controller classes for this application should extend from this base class.
 */
class Controller extends CController
{

        
        protected function beforeAction($action)
        {
            $this->setLang('ko');   
            return true;
        }
        
        protected function setTheme( $theme ){
            Yii::app()->theme = $theme;
        }
        
        protected function getTheme(){
            return Yii::app()->theme;
        }
        
        protected function setLang( $lang ){
            Yii::app()->language = $lang;
        }
        
        protected function getLang(){
            return Yii::app()->language;
        }
        
        
}